#include "client_print.h"

QPlainTextEdit* CClientPrint::mConsole(NULL);

void CClientPrint::setInstance(QPlainTextEdit* pConsole)
{
	mConsole = pConsole;
}

void CClientPrint::print(const QString& pMsg)
{
	if (mConsole) {
		mConsole->appendPlainText(pMsg); 
	}
}

